<?php
ob_start();
session_start();
include "checksession.php";
?>
<html>
    <head>
  <title>Adinop Co., Ltd. was founded as an ingredients importer and local manufacturers’ distributor in 1986. We also function as an exporter of finished products</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="../images/it_service_logo.png" rel="shortcut icon" type="image/x-icon" />
        <link rel="stylesheet" href="../css/style.css"/>
    </head>
    <body class="body">
        <table align="center" width="90%">
            <tr>
                <td colspan="2" class="header" >
                    <img src="../images/logo.png"> <img src="../images/it_service_text.png" width ="150">
                    <hr/>
<FONT SIZE="4" FACE="courier" COLOR=white><marquee behavior="scroll" direction="left" scrollamount="3" onmousedown="this.setAttribute('scrollamount', 3, 0);" onmouseup="this.setAttribute('scrollamount', 3, 0);">Welcome to Management Document IT Service</marquee></font>
                </td>
            </tr>
            <tr  valign="top">
                <td class="left">
<?php include_once "left.php";?>
                </td>
                <td align="center"> <br/>
                    <?php
                    if (!empty($_GET["url"])) {
                        $url = $_GET["url"];
                        $file = $url . ".php";
                        include_once $file;
                    } else {
                        echo '<span class="nameTitle">Welcome to Management Document IT Service</span> <br /><img src="../images/computer.jpg"/>';
                       
                    }
					
                    ?>
                    <br />
                     
                </td>
            </tr>
			<tr>
                <td colspan="2">
                       <?include "../user/counter.php";?>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                     <div><a href="../checklogout.php" onclick="return confirm('what do you want Exit')"> <img src="../images/logout.png" width="150px"></img></a></div>
                </td>
            </tr>
            <tr>
                <td class="footer" colspan="2">
                     Powered by Department Technology information Adinop
                </td>
            </tr>
              </table>     
    </body>
</html>
<SCRIPT language=JavaScript> 
<!-- 

var message="ห้าม คลิก ขวา น่ะ ครับ"; 

/////////////////////////////////// 
function clickIE4(){ 
if (event.button==2){ 
alert(message); 
return false; 
} 
} 

function clickNS4(e){ 
if (document.layers||document.getElementById&&!document.all){ 
if (e.which==2||e.which==3){ 
alert(message); 
return false; 
} 
} 
} 

if (document.layers){ 
document.captureEvents(Event.MOUSEDOWN); 
document.onmousedown=clickNS4; 
} 
else if (document.all&&!document.getElementById){ 
document.onmousedown=clickIE4; 
} 

document.oncontextmenu=new Function("alert(message);return false") 

// --> 
</SCRIPT>